package com.woniu.atms.vo.aft.car;

import com.woniu.atms.vo.PageInfoVO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.Valid;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @author 张奇
 * @title: CarTypeIdVO
 * @projectName g5_atms
 * @description: TODO
 * @date 2022/1/20 11:48
 */
@Setter
@Getter
@ToString
public class CarTypeIdVO {
    @NotNull(message = "车辆类型Id不能为null")
    @Min(value = 1,message = "车辆类型id需为正整数")
    private Integer typeId;

    @Valid
    private PageInfoVO pageInfoVO;
}
